%Description: Commands for PDF output|
% Created: {$DateTime} by {$UserName}

\usepackage[pdftex, plainpages=false]{hyperref}
\pdfoptionpdfminorversion=3             % pdf 1.3 (Acrobat 4)
\pdfcompresslevel=9                     % Best compression
\pdfinfo{                               % Info dictionary of PDF output;
                                        % all keys are optional. 
    /Author ({$UserName})
    /CreationDate ({$DateTime})    % (D:YYYYMMDDhhmmss)
                                        % YYYY  year
                                        % MM    month
                                        % DD    day
                                        % hh    hour
                                        % mm    minutes
                                        % ss    seconds
                                        %
                                        % default: the actual date
                                        %
    /ModDate (\today)                   % ModDate is similar
    /Title ({$FileTitleNoExt})                     %
    /Subject (PdfSubject)              %
    /Keywords (PdfKeywords)            %
}
\pdfcatalog{                            % Catalog dictionary of PDF output. 
    /PageMode /UseOutlines              %
}
\usepackage{color}
\definecolor{Blue}{rgb}{0,0,0.7}
\definecolor{Red}{rgb}{0.8,0,0}
\definecolor{Green}{rgb}{0,0.5,0}
\hypersetup{%
	colorlinks = true,
	linktocpage = true,
	linkcolor = Blue,
	anchorcolor = Blue,
	citecolor = Green,
	menucolor = Blue,
	pagecolor = Blue,
	urlcolor = Red
}
